using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.ServiceProcess;
using System.Text;
using Decav.Gatsb.Application;

namespace Decav.Gatsb.ApplicationServer
{
    public partial class ApplicationService : ServiceBase
    {
        public ApplicationService()
        {
            InitializeComponent();
        }

        private MessageService _messageService = new MessageService();

        protected override void OnStart(string[] args)
        {
            _messageService.Start();
        }

        protected override void OnStop()
        {
            _messageService.Stop();
        }
    }
}
